<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no,minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>异常</title>
    <link href="Tools/MoCoop/MoCoop.css" rel="stylesheet">
    <!--MoCoop CSS-->
    <link href="css/style.css" rel="stylesheet">
    <!--自定义样式-->
    <link href="Tools/PTR/ptr.css" rel="stylesheet">
</head>
<body>
<div class="mc-container">
    <div class="mc-commonpage mc-simplepage">
        <div class="mc-body pagebg-grey">
            <div class="abnomal-pagebody">
                <div id="ptr">
                    <span class="icon-ptr"></span>

                    <div class="loading">
                        <span id="l1"></span>
                        <span id="l2"></span>
                        <span id="l3"></span>
                    </div>
                </div>
                <div id="content" class="mc-fullpage pagebg-grey">
                    <div class="mc-nodata">
                        <div class="mc-nodata-icon"></div>
                        <div class="mc-nodata-label">暂无数据</div>
                    </div>
                    <div id="CONTAINER-abnormal" class="ractivecontainer bottomspace"></div>
                    <!--{{#if getAjaxStatus(remarkStatus)=='uploading' || getAjaxStatus(descriptionStatus)=='uploading' || getAjaxStatus(abnormalStatusStatus)=='uploading' || getAjaxStatus(createStatus)=='uploading' }}
                    <div class="ajax-status textcolor-main no-display">上传中...</div>
                    {{/if}}
                    {{#if getAjaxStatus(remarkStatus)=='failed' || getAjaxStatus(descriptionStatus)=='failed' || getAjaxStatus(abnormalStatusStatus)=='failed' || getAjaxStatus(createStatus)=='failed'}}
                    <div class="ajax-status textcolor-danger mc-responseicon" onclick="util.findThisAbnormalsFailedTask(this,'{{jsonPK}}')">上传失败<br>点击重试</div>
                    {{/if}}-->
                    <script id="TEMPLATE-abnormal" type="text/ractive">
                        {{#ractiveData:i}}
                            <div class="abnormal-item" id="{{jsonPK?jsonPK:'abnormalCreate'+getAjaxID(createStatus)}}">
                                <div class="ajax-status textcolor-main no-display">
                                    {{#if getAjaxStatus(remarkStatus)=='uploading' || getAjaxStatus(descriptionStatus)=='uploading' || getAjaxStatus(abnormalStatusStatus)=='uploading' || getAjaxStatus(createStatus)=='uploading' }}
                                        上传中
                                    {{/if}}
                                </div>
                                {{#if getAjaxStatus(remarkStatus)=='failed' || getAjaxStatus(descriptionStatus)=='failed' || getAjaxStatus(abnormalStatusStatus)=='failed' || getAjaxStatus(createStatus)=='failed'}}
                                    <div class="ajax-status textcolor-danger mc-responseicon" onclick="util.findThisAbnormalsFailedTask(this,'{{jsonPK}}')">上传失败<br>点击重试</div>
                                {{/if}}
                                <div class="abnormal-itembtn mc-btn" onclick="util.jumpToDetail('{{jsonPK}}','{{localPK}}')">
                                    <div class="abnormal-itemheader {{orderAttachment != null ? 'headerwithimage':''}}">
                                        <div class="header-image">
                                            {{#orderAttachment}}
                                                <img id="{{setName(orderAttachment)}}_{{i}}" onclick="util.showOrderPhotoByIndex('{{orderAttachment}}')"/>
                                            {{/orderAttachment}}
                                        </div>
                                        <div class="order-name">{{orderNo}}
										{{#if count}}
                                            <div class="item-badge-unread abnormal">{{count}}</div>
                                        {{/if}}
										</div>
                                        <div class="abnormal-info">{{itemNo}}</div>
                                    </div>
                                    <div class="abnormal-itemprocess">流程名：<span class="textcolor-process">{{processName}}</span></div>
                                    <!--<div class="abnormal-itemstatus">异常状态：<span class="textcolor-success">{{statusEdit ? statusEdit : status}}</span></div>
                                    <div class="abnormal-itemcontent limit-2line">{{descriptionEdit ? descriptionEdit : description}}</div>-->
                                    <div class="abnormal-itemstatus">异常状态：<span class="textcolor-success">{{status}}</span></div>
                                    <div class="abnormal-itemcontent limit-2line">{{description}}</div>
                                    <div class="abnormal-itemfooter">
                                        <div class="item-person">操作人：{{lastModifiedByUserLogin?lastModifiedByUserLogin:createdByUserLogin}}</div>
                                        <div class="item-date text-right">时间：{{formatDate(lastUpdateTime ? lastUpdateTime : createdTime,"yyyy-MM-dd hh:mm")}}</div>
                                    </div>
                                </div>
                            </div>
                        {{/ractiveData}}
                         <div class="mc-scroll-loading">
                            <div class="mc-scroll-progress"></div>
                            <div class="mc-scroll-pomptlabel"></div>
                         </div>
                    </script>
                </div>
            </div>
        </div>
    </div>
    <script src="Tools/jquery-2.1.4.min.js"></script>
    <!--jquery-->
    <script src="Tools/Ractive.js"></script>
    <script src="Tools/PTR/hammer.2.0.4.js"></script>
    <script src="js/common.js"></script>
    <script src="Tools/PTR/wptr.1.1.js"></script>
    <!--公共方法JS（由用户编写）-->
    <script src="js/pages/abnormal.js"></script>
    <!--当前页面JS（由用户编写）-->
    <script src='js/dataInterface.js'></script>
    <!--获取数据方法JS（由用户编写）-->
    <script src="Tools/MoCoop/MoCoop.js"></script>
    <!--MoCoopJS（必须引入）-->
</div>
</body>
</html>